revQueryIsAtStart
Type
function
Summary
Returns whether the beginning of a record set has been reached or not.
Syntax
revQueryIsAtStart(<recordSetID>)
Description
Use the revQueryIsAtStart function to stop when you reach the start of a record set.
If the operation is not successful, the revQueryIsAtStart function returns an error message that begins with the string "revdberr".
Parameters
Name | Type | Description |
---|---|---|
recordSetID | The number returned by the revQueryDatabase function when the record set was created. |
Examples
repeat until revQueryIsAtStart(tCursor)
...
revMoveToPreviousRecord tCursor
end repeat
Related
function: revOpenDatabase, revCurrentRecord, revQueryDatabase, revCurrentRecordIsFirst, revQueryIsAtEnd
glossary: command
keyword: string
command: revMoveToPreviousRecord
Compatibility and Support
Introduced
LiveCode 2.9
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile